package com.xgg.taiwuinfo.gongfa.abilities;

import android.content.Context;

public class Ability_Cast {

    private int CastTime;
    private int TQCost;
    private int JSCost;

    public Ability_Cast(int casttime , int js , int tq)
    {
        CastTime = casttime;
        TQCost = tq;
        JSCost = js;
    }

    public String getCostString(Context ctx)
    {
        return String.format("施法时间: %.01f\r\n架势消耗: %d %%\r\n提气消耗: %d %%" , (double)(CastTime) / 10.0, JSCost , TQCost);
    }

    public int getCastTime() { return CastTime; }
    public int getTQCost() { return TQCost; }
    public int getJSCost() { return JSCost; }
}
